toggle menu
ktor
3.0.3
3.0.3
3.0.2
3.0.0
2.3.12
2.2.4
2.0.3
1.6.8
wasmJs
switch theme
search in API
ktor-client-core
/
io.ktor.client.fetch
/
[wasmJs]Uint8Array
/
reduce
reduce
wasmJs
abstract
fun
reduce
(
callbackfn
:
(
previousValue
:
JsNumber
,
currentValue
:
JsNumber
,
currentIndex
:
JsNumber
,
array
:
Uint8Array
)
->
JsNumber
)
:
JsNumber
abstract
fun
reduce
(
callbackfn
:
(
previousValue
:
JsNumber
,
currentValue
:
JsNumber
,
currentIndex
:
JsNumber
,
array
:
Uint8Array
)
->
JsNumber
,
initialValue
:
JsNumber
)
:
JsNumber
abstract
fun
<
U
:
JsAny
>
reduce
(
callbackfn
:
(
previousValue
:
U
,
currentValue
:
JsNumber
,
currentIndex
:
JsNumber
,
array
:
Uint8Array
)
->
U
,
initialValue
:
U
)
:
U